//
//  CircleViewController.h
//  安好
//
//  Created by lianchuang on 14-11-3.
//  Copyright (c) 2014年 lianchuangbrother. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewController.h"
#import "DVSwitch.h"

#import "SquareATableViewCell.h"
#import "PopoverView.h"
#import "PopoverView1.h"
#import "CircleTableViewCell.h"

#import "SquareMarkView.h"
#import "SquarePostsDetailsViewController.h"
#import "CircleSecondLevelViewController.h"
#import "CircleModelDataModels.h"
#import "GroupUserModel.h"
#import "AddCircleViewController.h"
#import "CircleManagementViewController.h"
#import "CirclePostListViewController.h"
/**
 *  model
 */
#import "ThreadListDataModels.h"



#import "CirclePostsDetailsViewController.h"

#import "FKSearchBar.h"
#import "SystemMessageCenter.h"
#import "NoticeData.h"






@interface CircleViewController : BaseViewController<UIScrollViewDelegate,UITableViewDelegate,UITableViewDataSource,SquareCellImageViewsDelegate,FKSearchBarDelegate>{
    BOOL isMyCircle;
}
//@property (strong, nonatomic)DVSwitch *switcher;
@property (strong, nonatomic)UISegmentedControl *segmentedControl;

@property (strong, nonatomic) IBOutlet UIScrollView *mainView;
@property (strong, nonatomic) IBOutlet UITableView *squareView;//广场
@property (strong, nonatomic) ThreadListBaseClass *threadListBaseClass;
@property (assign, nonatomic) NSInteger type;//	筛选类型:默认为0  1：置顶2：精华3：new 4：是否图片5：推荐







@property (strong, nonatomic) IBOutlet UITableView *circleView;//圈子

//@property (strong, nonatomic) NSMutableArray *squareArray;//广场
@property (strong, nonatomic) NSMutableArray *circleArray;//圈子

@property (assign, nonatomic) NSInteger squarePage;//广场第几页

@property (strong, nonatomic) FKSearchBar *fkSearchBar;


@property (strong, nonatomic) NSMutableArray *popViewArray;//下拉选项中的

@property(strong,nonatomic)NSMutableArray *secondCircleArray;
@property(strong,nonatomic)PopoverView1 *pop1;
@property(strong,nonatomic)NSMutableDictionary *pidAndGid;//存储pid和gid字典


@property (nonatomic,assign)NSInteger logintag;// 1:与我相关


@property(strong,nonatomic)PopoverView *pop;
@property(strong,nonatomic)PopoverView *pop2;





@end
